package com.medical_houduan.service.Impl;


import com.medical_houduan.mapper.UserMapper;
import com.medical_houduan.pojo.User;
import com.medical_houduan.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;


    @Override
    public User findByUserName(String username) {
        return userMapper.findByUserName(username);
    }
}
